package com.tancire.works.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tancire.common.annotation.Excel;
import com.tancire.common.core.domain.BaseEntity;

/**
 * 兼职报名对象 side_work_enroll
 *
 * @author tancire
 * @date 2024-03-11
 */
public class SideWorkEnroll extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 对应兼职 */
    @Excel(name = "对应兼职")
    private Long workId;

    /** 兼职名称 */
    @Excel(name = "兼职名称")
    private String workName;

    /** 招聘公司ID */
    @Excel(name = "招聘公司ID")
    private Long workCompanyId;

    /** 招聘公司 */
    @Excel(name = "招聘公司")
    private String workCompanyName;

    /** 报名人 */
    @Excel(name = "报名人")
    private Long userId;

    /** 报名账号 */
    @Excel(name = "报名账号")
    private String userAccount;

    /** 报名人姓名 */
    @Excel(name = "报名人姓名")
    private String userName;

    /** 报名人电话 */
    @Excel(name = "报名人电话")
    private String userPhone;

    /** 报名人性别 */
    @Excel(name = "报名人性别")
    private String userSex;

    /** 报名人年龄 */
    @Excel(name = "报名人年龄")
    private Integer userAge;

    /** 状态 0 待联系  1已通过  2 已拒绝 */
    @Excel(name = "状态 0 待联系  1已通过  2 已拒绝")
    private String approveStatus;

    /** 0 正常  1 删除  真删除，字段保留 */
    private Integer delFlag;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
    public void setWorkId(Long workId) {
        this.workId = workId;
    }

    public Long getWorkId() {
        return workId;
    }
    public void setWorkName(String workName) {
        this.workName = workName;
    }

    public String getWorkName() {
        return workName;
    }
    public void setWorkCompanyId(Long workCompanyId) {
        this.workCompanyId = workCompanyId;
    }

    public Long getWorkCompanyId() {
        return workCompanyId;
    }
    public void setWorkCompanyName(String workCompanyName) {
        this.workCompanyName = workCompanyName;
    }

    public String getWorkCompanyName() {
        return workCompanyName;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }
    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserAccount() {
        return userAccount;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }
    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserPhone() {
        return userPhone;
    }
    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getUserSex() {
        return userSex;
    }
    public void setUserAge(Integer userAge) {
        this.userAge = userAge;
    }

    public Integer getUserAge() {
        return userAge;
    }
    public void setApproveStatus(String approveStatus) {
        this.approveStatus = approveStatus;
    }

    public String getApproveStatus() {
        return approveStatus;
    }
    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workId", getWorkId())
            .append("workName", getWorkName())
            .append("workCompanyId", getWorkCompanyId())
            .append("workCompanyName", getWorkCompanyName())
            .append("userId", getUserId())
            .append("userAccount", getUserAccount())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("userSex", getUserSex())
            .append("userAge", getUserAge())
            .append("approveStatus", getApproveStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
